package com.dldata.devtools30.entity;

import jakarta.persistence.*;

/**
 * Created by 呵呵 on 2017-09-22.
 */
@Entity
@Table(name = "devt_form_listtempl_args")
public class DevtFormListtemplArgsEntity {
    private String id;
    private String formid;
    private String templeid;
    private Integer xh;
    private Integer lx;
    private String argname;
    private String tjsql;
    private String bz;
    private String arglable;
    private String lxdata;
    private Long isshow;
    private String cslx;
    private String jlsrccode;
    private String dvalue;
    @Basic
    @Column(name = "cslx", nullable = true, insertable = true, updatable = true, length = 64)
    public String getCslx() {
        return cslx;
    }

    public void setCslx(String cslx) {
        this.cslx = cslx;
    }
    @Basic
    @Column(name = "jlsrccode", nullable = true, insertable = true, updatable = true, length = 64)
    public String getJlsrccode() {
        return jlsrccode;
    }

    public void setJlsrccode(String jlsrccode) {
        this.jlsrccode = jlsrccode;
    }
    @Basic
    @Column(name = "dvalue", nullable = true, insertable = true, updatable = true, length = 64)
    public String getDvalue() {
        return dvalue;
    }

    public void setDvalue(String dvalue) {
        this.dvalue = dvalue;
    }

    @Basic
    @Id
    @Column(name = "ID", nullable = false, insertable = true, updatable = true, length = 64)
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "FORMID", nullable = true, insertable = true, updatable = true, length = 64)
    public String getFormid() {
        return formid;
    }

    public void setFormid(String formid) {
        this.formid = formid;
    }

    @Basic
    @Column(name = "TEMPLEID", nullable = true, insertable = true, updatable = true, length = 64)
    public String getTempleid() {
        return templeid;
    }

    public void setTempleid(String templeid) {
        this.templeid = templeid;
    }

    @Basic
    @Column(name = "XH", nullable = true, insertable = true, updatable = true)
    public Integer getXh() {
        return xh;
    }

    public void setXh(Integer xh) {
        this.xh = xh;
    }

    @Basic
    @Column(name = "LX", nullable = true, insertable = true, updatable = true)
    public Integer getLx() {
        return lx;
    }

    public void setLx(Integer lx) {
        this.lx = lx;
    }

    @Basic
    @Column(name = "ARGNAME", nullable = true, insertable = true, updatable = true, length = 100)
    public String getArgname() {
        return argname;
    }

    public void setArgname(String argname) {
        this.argname = argname;
    }

    @Basic
    @Column(name = "TJSQL", nullable = true, insertable = true, updatable = true, length = 2048)
    public String getTjsql() {
        return tjsql;
    }

    public void setTjsql(String tjsql) {
        this.tjsql = tjsql;
    }

    @Basic
    @Column(name = "BZ", nullable = true, insertable = true, updatable = true, length = 1024)
    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    @Basic
    @Column(name = "ARGLABLE", nullable = true, insertable = true, updatable = true, length = 100)
    public String getArglable() {
        return arglable;
    }

    public void setArglable(String arglable) {
        this.arglable = arglable;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        DevtFormListtemplArgsEntity that = (DevtFormListtemplArgsEntity) o;

        if (id != null ? !id.equals(that.id) : that.id != null) return false;
        if (formid != null ? !formid.equals(that.formid) : that.formid != null) return false;
        if (templeid != null ? !templeid.equals(that.templeid) : that.templeid != null) return false;
        if (xh != null ? !xh.equals(that.xh) : that.xh != null) return false;
        if (lx != null ? !lx.equals(that.lx) : that.lx != null) return false;
        if (argname != null ? !argname.equals(that.argname) : that.argname != null) return false;
        if (tjsql != null ? !tjsql.equals(that.tjsql) : that.tjsql != null) return false;
        if (bz != null ? !bz.equals(that.bz) : that.bz != null) return false;
        if (arglable != null ? !arglable.equals(that.arglable) : that.arglable != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (formid != null ? formid.hashCode() : 0);
        result = 31 * result + (templeid != null ? templeid.hashCode() : 0);
        result = 31 * result + (xh != null ? xh.hashCode() : 0);
        result = 31 * result + (lx != null ? lx.hashCode() : 0);
        result = 31 * result + (argname != null ? argname.hashCode() : 0);
        result = 31 * result + (tjsql != null ? tjsql.hashCode() : 0);
        result = 31 * result + (bz != null ? bz.hashCode() : 0);
        result = 31 * result + (arglable != null ? arglable.hashCode() : 0);
        return result;
    }

    @Basic
    @Column(name = "LXDATA", nullable = true, insertable = true, updatable = true, length = 1024)
    public String getLxdata() {
        return lxdata;
    }

    public void setLxdata(String lxdata) {
        this.lxdata = lxdata;
    }

    @Basic
    @Column(name = "ISSHOW", nullable = true, insertable = true, updatable = true, precision = 0)
    public Long getIsshow() {
        return isshow;
    }

    public void setIsshow(Long isshow) {
        this.isshow = isshow;
    }
}
